package com.summo.demo.entity;

import javax.persistence.Column;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.summo.demo.base.AbstractBaseDO;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@TableName("t_auth")
@NoArgsConstructor
@AllArgsConstructor
public class AuthDO extends AbstractBaseDO<AuthDO> {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @Column(name = "auth_id")
    private Long authId;

    /**
     * 权限code
     */
    @Column(name = "auth_code")
    private String authCode;

    /**
     * 权限名称
     */
    @Column(name = "auth_name")
    private String authName;
}